package com.gxwz.document.business.service;

import java.util.List;

import com.gxwz.document.business.entity.User;
import com.gxwz.document.core.pagination.Result;

public interface IuserService {
	
	public void saveuser(User user);
	public List<User> findAll();	
	public List<User> findByPage(int index, int pageSize);	
	public List<User> findByUserNameAndPassWord(User user);
	/*
	 * 添加用户
	 */
	public void add(User user);
	public void delete(int userId);	
	public void update(User user) ;
	public User findById(int userId);
	
	public int getRowNum();
	public List<User> findByOder(User user, int index, int pageSize);

}
